<TABLE class=design bgColor=#ffffff cellPadding=3 cellSpacing=0 width=100% border='1' BORDERCOLOR="#C0C0C0" STYLE="border-collapse: collapse">
<TR>
	<TD class='a1'><strong>user name</font></strong></td>
	<TD class='a1'><strong>email</font></strong></td>
	<TD class='a1'><strong>action</font></strong></td>
</tr>
<?
	$sql = "SELECT * FROM users";
	$result = mysql_query($sql) or die( mysql_error() );
	if ($result){
		while( $row = mysql_fetch_array($result) ){
			extract($row);
	 
?>
			<tr>
				<TD class='a1'>
					<?=$username?></font>
				</td>
				<TD class='a1'>
					<?=$email?></font>
				</td>
				<TD class='a1'>
						<a href="<?=$PHP_SELF?>?a=<?=$a?>&step=2&uid=<?=$uid?>"><font color=black>edit</a> | 
						<a onclick="return confirm('are you sure you wish to delete this user?');" href="<?=$PHP_SELF?>?a=<?=$a?>&step=4&uid=<?=$uid?>"><font color=black>remove</a>
					</font>
				</td>
			</tr>
<?
		}
	}
?>
<tr>
	<td colspan=3 align=right>
		<br>
			<a href="<?=$PHP_SELF?>?a=<?=$a?>&step=5"><font color=black>add new user</a>
		</font>
	</td>
</tr>
</table>